﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<FindPharmacies.Model.Pharmacy>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Details</h2>

    <fieldset>
        <legend>Fields</legend>
        
        <%--<div class="display-label">PharmacyID</div>
        <div class="display-field"><%: Model.PharmacyID %></div>--%>
        
        <div class="display-label">Name</div>
        <div class="display-field"><%: Model.Name %></div>
        
        <div class="display-label">Street</div>
        <div class="display-field"><%: Model.Street %></div>
        
        <div class="display-label">No</div>
        <div class="display-field"><%: Model.No %></div>
        
        <div class="display-label">Zip</div>
        <div class="display-field"><%: Model.Zip %></div>
        
        <div class="display-label">City</div>
        <div class="display-field"><%: Model.City %></div>
        
        <div class="display-label">State</div>
        <div class="display-field"><%: Model.State %></div>
        
        <div class="display-label">OpeningHours</div>
        <div class="display-field"><%: Model.OpeningHours %></div>
        
        <div class="display-label">EmergencyService</div>
        <div class="display-field"><%: Model.EmergencyService %></div>
        
        <div class="display-label">EmergencyTimes</div>
        <div class="display-field"><%: Model.EmergencyTimes %></div>
        
        <div class="display-label">Phone</div>
        <div class="display-field"><%: Model.Phone %></div>
        
        <div class="display-label">Email</div>
        <div class="display-field"><%: Model.Email %></div>
        
        <div class="display-label">Website</div>
        <div class="display-field"><%: Model.Website %></div>
        
        <div class="display-label">Latitude</div>
        <div class="display-field"><%: String.Format("{0:F6}", Model.Latitude) %></div>
        
        <div class="display-label">Longitude</div>
        <div class="display-field"><%: String.Format("{0:F6}", Model.Longitude) %></div>
        
    </fieldset>
    <p>

        <%: Html.ActionLink("Edit", "Edit", new { id=Model.PharmacyID }) %> |
        <%: Html.ActionLink("Back to List", "Admin") %>
    </p>

</asp:Content>

